package com.jeremyaburns.oddio.tracker 
{
	import flash.events.Event;

	internal class OTEvent extends Event 
	{
		public var data :Object;
		
		public function OTEvent( type:String, data:Object, bubbles:Boolean=false, cancelable:Boolean=false )
		{ 
			super( type, bubbles, cancelable );
			this.data = data;
		} 
		
		public override function clone() :Event { return new OTEvent( type, data, bubbles, cancelable ); }
		public override function toString():String { return formatToString("OTEvent", "type", "data", "bubbles", "cancelable", "eventPhase"); }
	}	
}